package com.itheima.pojo;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class Sales {

    private int id;
    private int empId;
    private BigDecimal price;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime saleTime;
    private int vipId;


    private String empName;

    private String vipName;

    private List<SalesItems> salesItems;
}
